//Product.java
package builder.simplified.mixDirectorAndBuilder;

/**
 *@author:youtubezou
 *@version:2012-7-15
 */
public class Product {
	private String name;
	private double price;
	private int size;
	
	public void setName(String name) {
		this.name = name;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public void setSize(int size) {
		this.size = size;
	}
	
	public String toString(){
		return "ProductA:" + "\n\t" + 
		"name:" + "\t" + name + "\n\t" +
		"price:" + "\t" + price + "\n\t" +
		"size:" + "\t" + size;
	}
}
